<template>
  <div class="a">
    <p>地质分析因子设置</p>
    <div class="model">
      <el-table :data="tableData" style="width: 100%">
        <el-table-column prop="date" label="因子索引"> </el-table-column>
        <el-table-column prop="name" label="类型"> </el-table-column>
        <el-table-column prop="address" label="图层名"> </el-table-column>
        <el-table-column prop="address" label="影响值"> </el-table-column>
        <el-table-column prop="address" label="分析字段"> </el-table-column>
      </el-table>
    </div>
    <div class="bottom">
      <div class="ipt">
        <div class="one">
          <div><span>因子索引</span><el-input type="text" /></div>
          <div><span>影响值</span><el-input type="text" /></div>
        </div>
        <div class="two">
          <div>
            <span>地质因子</span
            ><el-select v-model="value" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </el-select>
          </div>
          <div>
            <span>分析字段</span
            ><el-select v-model="value" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </el-select>
          </div>
        </div>
        <div class="three">
          <div>
            <span>图层类型</span
            ><el-select v-model="value" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </el-select>
          </div>
        </div>
      </div>
    </div>
    <div class="cz">
      <p>操作</p>
      <div class="btn">
        <el-button type="small">增加</el-button>
        <el-button type="small">删除</el-button>
        <el-button type="small">修改影响值</el-button>
        <el-button type="small">设置面分析参数</el-button>
        <el-button type="small">分因子显示参数</el-button>
        <el-button type="small">综合因子显示参数</el-button>
        <el-button type="small">计算分因子Grid</el-button>
        <el-button type="small">计算综合地质Grid</el-button>
      </div>
    </div>
    <div class="zs">
      <p>展示</p>
      <div class="btn">
        <el-button type="small">显示分因子网格</el-button>
        <el-button type="small">显示综合因子网格</el-button>
        <el-button type="small">关闭网格显示</el-button>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      tableData: [],
    };
  },
};
</script>
<style scoped lang="less">
.a {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  justify-content: center;
  .model {
    width: 100%;
  }
  .ipt {
    width: 100%;
    .el-input,
    .el-select {
      width: 100px;
    }
    .one,
    .two,
    .three {
      display: flex;
      margin: 10px;
      align-items: center;
      justify-content: space-between;
      span {
        margin-right: 10px;
      }
    }
  }
  .cz {
    .btn {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      width: 100%;
      .el-button {
        width: 120px;
        margin: 10px;
      }
    }
  }
  .zs {
    p {
      margin-bottom: 10px;
    }
  }
}
</style>
